<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<div class="pageContent">

	<form method="post" id="modifyForm"
		action="<%=basePath%>supplier_updateSupplier.action"
		class="pageForm required-validate"
		onsubmit="return validateCallback(this, navTabAjaxDone)">
		<div class="pageFormContent2" layoutH="58">
			<p>
				<label>
					渠道编码：
				</label>
				<input type="text" name="supplier.PChannelNumber" size="30" value="${requestScope.supplier.PChannelNumber}"
					minlength="3" maxlength="20" readonly="readonly" />
			</p>
			<p>
				<label>
					渠道名称：
				</label>
				<input type="text" name="supplier.PCLineName" size="30" value="${requestScope.supplier.PCLineName}"
					minlength="3" maxlength="20" class="required"/>
			</p>
			<p>
				<label>
					渠道公司名：
				</label>
				<input type="text" name="supplier.PCLineCompany" class="required" size="30" value="${requestScope.supplier.PCLineCompany}"/>
			</p>
			<p>
				<label>
					登录ID：
				</label>
				<input type="text" name="supplier.PCLineUsername" size="20" value="${requestScope.supplier.PCLineUsername}"
					class="required"/>
			</p>
			<p>
				<label>
					登录密码：
				</label>
				<input type="text" name="supplier.PCLinePasswored" size="20" value="${requestScope.supplier.PCLinePasswored}"
					class="required"/>
			</p>
			<p>
				<label>
					渠道级别：
				</label>
				<select id="supplierLevel" name="supplier.PCLineClass"
					class="required combox">
					<option value="">
						请选择
					</option>
					<option value="1">
						1
					</option>
					<option value="2">
						2
					</option>
					<option value="3">
						3
					</option>
					<option value="4">
						4
					</option>
					<option value="5">
						5
					</option>
				</select>
			</p>
			<p>
				<label>
					联系人名称：
				</label>
				<input type="text" name="supplier.PCLineContact" size="20" value="${requestScope.supplier.PCLineContact}"
					class="required"/>
			</p>
			<p>
				<label>
					联系地址：
				</label>
				<input type="text" name="supplier.PCLineAddress" size="20" value="${requestScope.supplier.PCLineAddress}"
					class="required"/>
			</p>
			<p>
				<label>
					联系电话：
				</label>
				<input type="text" name="supplier.PCLineTel" size="20" value="${requestScope.supplier.PCLineTel}"
					class="required"/>
			</p>
			<p>
				<label>
					渠道采集人员：
				</label>
				<input type="text" name="supplier.PCLineCnName" size="20" class="required" value="${requestScope.supplier.PCLineCnName}"/>
			</p>
			<p>
				<label>
					同行识别码:
				</label>
				<input type="text" name="supplier.PCLineCnName" size="20" class="required" value="${requestScope.supplier.PCLineType}"/>
			</p>
			<p>
				<label>
					轨迹地址:
				</label>
				<input type="text" name="supplier.PCLineCnName" size="20" value="${requestScope.supplier.PCLineUrl}"/>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">
								保存
							</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">
								取消
							</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
<script type="text/javascript">
(function(){
	$("#supplierLevel").attr("value","${requestScope.supplier.PCLineClass}");
})();
</script>
